package e.odbo.data;

import com.openbravo.data.loader.DBSession;
import com.openbravo.data.loader.TableDBSentenceBuilder;
import e.odbo.data.dao.DataLogic;
import e.odbo.data.dao.I_DataLogic;
import e.odbo.data.sample.security.I_SecurityFilter;
import e.odbo.data.sample.security.NoScuritySupportManager;

public class JDBCDataManager extends DataLogic implements I_DataLogic {

    public JDBCDataManager(DBSession s) {
        super(s,new TableDBSentenceBuilder(s, new NoScuritySupportManager()));
    }

    public JDBCDataManager(DBSession s, I_SecurityFilter securityFilter) {
        super(s, new TableDBSentenceBuilder(s, securityFilter));
    }

    @Override
    public Class transParentClass(Class in) {
        return in;
    }

}
